package com.zdw.demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 回调地址 实体
 */
@Data
@TableName(value = "pc_pub_callback_url")
public class PcPubCallbackUrl implements Serializable {

    public static final String RKEY                  = "rkey";
    public static final String PAY_TYPE              = "payType";
    public static final String PAY_RESULT_NOTIFY_URL = "payResultNotifyUrl";
    public static final String REMARK                = "remark";
    public static final String APP_FLAG              = "appFlag";

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer rkey;

    /**
     * 标识(1-微信  2-支付宝)
     */
    private Integer payType;

    /**
     * 回调地址
     */
    private String payResultNotifyUrl;

    /**
     * 备注
     */
    private String remark;


    /**
     * 回调应用标识(用于订单回调,跟pc_pub_callback_url中的一致)
     */
    private String appFlag;


}
